<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
</head>
<body>
	<button onclick="color('red')">设为红色</button>
	<button onclick="color('yellow')">设为黄色</button>
	<button onclick="color('blue')">设为蓝色</button>
	<input type="color" onchange="color_diy(this)"/>
	<script type="text/javascript" src="index.js"></script>
</body>
</html>